package com.itheima.exer.homework.hw1011.system;

public class Desk {
    private boolean flag;
    private Integer count;
    private final Object object = new Object();

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Object getObject() {
        return object;
    }

    public Desk(boolean flag, Integer count) {
        this.flag = flag;
        this.count = count;
    }

    public Desk() {
       // this(false,10);
    }
}
